package com.dongdongshop.service;

import com.dongdongshop.pojo.TbItemCat;
import com.dongdongshop.pojo.TbSpecificationOption;
import com.dongdongshop.pojo.TbTypeTemplate;

import java.util.List;

public interface ItemCatService {
    List<TbTypeTemplate> itemCatList();

    List<TbItemCat> getItemInfo(Long id);

    void addItem(TbItemCat tbItemCat);

    TbItemCat updateById(Long id);

    void updateItem(TbItemCat tbItemCat);


    void deleteItem(Long[] id);


    Long getTypeId(Long id);

    TbItemCat selectByType(Long category1Id);
}
